YMCA — Why Markov Chain Algebra ? — Mario

نویسندگان

  • Mario Bravetti
  • Holger Hermanns
  • Joost-Pieter Katoen
چکیده

Markov chains are widely used to determine system performance and reliability characteristics. The vast majority of applications considers continuous-time Markov chains (CTMCs). This note motivates how concurrency theory can be extended (as opposed to twisted) to CTMCs. We provide the core motivation for the algebraic setup of Interactive Markov Chains. Therefore, this note should have better been baptized YIMC. Continuous-time Markov chains (CTMCs) are a widely used performance evaluation model. They can be considered as labeled transition systems, where the transition labels—rates of negative exponential distributions— indicate the speed of the system evolving from one state to another. Numerical algorithms allow the computation of important characteristics of a given CTMC with relative ease and comfortable run times, and in a quantifiably precise manner. Using probabilistic model checking techniques This paper is electronically published in Electronic Notes in Theoretical Computer Science URL: www.elsevier.nl/locate/entcs also logical properties can be checked. Several software tools are available to support the specification, numerical analysis, and model checking of CTMCs. This note is not concerned with the analysis, but with the integration of CTMCs in the process algebraic framework for the modeling and analysis of reactive systems. Interactive Markov chain algebra (IMC) is an extension of classical process algebra in which random delays can be described. Any such delay is specified by a negative exponential distribution. The basic concept is to add a delay prefix to process algebra. This simple extension—a clear separation between delays and actions—yields a specification formalism for describing CTMCs in a precise and modular way, resembling the hierarchical nature of typical modern systems. The theory of IMC has been driven by a set of design rationales, which we briefly discuss in the sequel. IMC is a simple extension of process algebra. It extends traditional process algebra by a single operator, (λ) . P , where λ is an arbitrary positive real value, and . the prefix operator, and P a process algebra term. Intuitively, (λ) . P delays for a time which is exponentially distributed with rate λ prior to exhibiting the behavior of P . Stated differently, the probability to behave like P within t time units is 1− e, or simpler: it takes on average 1 λ time units to evolve into P . IMC extends process algebra in a conservative way, i.e., the meaning of established composition operators does not change. IMC is a conservative extension because the operational semantics, equivalence relations, and equational theory remain unaltered for the basic process algebra fragment. Whether one takes CCS, π-calculus, CSP, ACP, μ-CRL or . . . as a basis does not make a difference. We took LOTOS, where the basic fragment looks like this: P ::= a . P | P + P | X | recX.P | P ||S P where a is an action, S a set of actions, and + and ||S are the standard choice and parallel composition. Note that the last rationale can also be formulated as “standard process algebra is included in IMC”. IMC encompasses the algebra of CTMCs, where bisimulation coincides with lumpability. The algebra of CTMCs is a fragment of IMC orthogonal to the (stan2 dard) process algebra fragment, and is characterized by the following equational laws: (B1) P +Q = Q+ P (B2) (P +Q) +R = P + (Q+R) (B3) P + 0 = P (B4) (λ+ μ) . P = (λ) . P + (μ) . P The axioms (B1) through (B3) are well known and standard for process algebra. Axiom (B4) is a distinguishing law and can be regarded as a replacement in the Markovian setting of the traditional idempotency axiom for choice (P + P = P ). It reflects that the resolution of choice is modeled by the minimum of (statistically independent) exponential distributions. Together with standard laws for handling recursion on classical process calculi, these axioms can be shown to form a sound and complete axiomatization of the CTMC fragment given by: P ::= (λ) . P | P + P | X | recX.P | P ||∅P IMC naturally supports phase-type distributions. Phase-type distributions can be considered as matrix generalizations of exponential distributions, and include frequently used distributions such as Erlang, Cox, hyperand hypo-exponential distributions. Intuitively, a phase-type distribution can be considered as a CTMC with a single absorbing state (a state that is never left once reached). The time until absorption of this absorbing CTMC determines the phase-type distribution [9]. In terms of IMC, phase-type distributions can be encoded by explicitly specifying the structure of the CTMC using summation, recursion, and termination (0), as in the IMC-term Q̃ given by (λ) . recX.(μ) . (μ) . X + (λ) . 0. The possibility of specifying phase-type distributions is of significant interest, since phase-type distributions can approximate arbitrary distributions arbitrarily close [9] (i.e., it is a dense subset of the set of continuous distributions). In other words, IMC can be used to express arbitrary distributions, by choosing the appropriate absorbing Markov chain, and (mechanically) encoding it in IMC. IMC supports constraint-oriented specification of random time constraints. (The term constraint-oriented was coined in [11].) This property enables to enrich existing untimed specifications with random timing constraints by just composition. The description of time constraints can thus take place in a modular way, that is, as separated processes that are constraining the behavior by running in parallel with an untimed (or 3 otherwise time-constrained) process. This is facilitated by an elapse operator [6] which is used to impose phase-type distributed time constraints on specific actions. The semantics of this operator is defined by means of a translation into the basic operators of IMC—it is, in fact, just “syntactic sugar”. Due to the compositional properties of IMC, important properties (e.g., congruence results) carry directly over to this operator. Delays are imposed as time constraints between two actions, and a delay may be “interrupted” if some action of some kind occurs in the meanwhile. That is, the elapse operator is an operator with four parameters, syntactically denoted by [on S delay D by Q unless B] : • a phase-type distribution Q that determines the duration of the time constraint, • a set of actions S (start) that determines when the delay (governed by Q) starts, • a set of actions D (delay) which have to be delayed, and • a set of actions B (break) which may interrupt the delay. Thus, for instance, [on {a} delay {b} by Q̃ unless ∅] imposes the delay of Q̃ (modeling a phase-type distribution) between a and b. Semantically, the intuition behind this operator is that it enriches the chain Q with some synchronization potential that is used to initialize and reset the time constraint in an appropriate way. The time constraint is imposed on a process P by means of parallel composition, such as in P ||S∪D∪B [on S delay D by Q unless B]. IMC adds nondeterminism and interaction to CTMCs. Interactive Markov chains can be used to specify CTMCs, but due to the presence of nondeterminism (inherited from standard process algebra), the model underlying IMC is richer. In fact, it is the class of continuous-time Markov decision chains [10], a strict superset of CTMCs. Nondeterminism is one of the vital ingredients of process algebra and hence of IMC. IMC has a well-understood equational theory. See [4, Chaper 5] for sound and complete equational characterizations of strong and weak bisimilarity for the full calculus—including recursion and open terms. 4

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Markov modeling and reliability analysis of urea synthesis system of a fertilizer plant

This paper deals with the Markov modeling and reliability analysis of urea synthesis system of a fertilizer plant. This system was modeled using Markov birth–death process with the assumption that the failure and repair rates of each subsystem follow exponential distribution. The first-order Chapman–Kolmogorov differential equations are developed with the use of mnemonic rule and these equation...

متن کامل

Reduction semantics in Markovian process algebra

Stochastic (Markovian) process algebra extend classical process algebra with probabilistic exponentially distributed time durations denoted by rates (the parameter of the exponential distribution). Defining a semantics for such an algebra, so to derive Continuous Time Markov Chains from system specifications, requires dealing with transitions labeled by rates. With respect to standard process a...

متن کامل

Generalized Semi-Markovian Process Algebra

We present GSMPA, a stochastically timed process algebra that enhances the expressiveness of the stochastically timed process algebra EMPA by allowing arbitrarily distributed durations to be directly modeled through the adoption of the mechanism of action identification as well as the adoption of the preselection policy for alternative actions. GSMPA is introduced together with the definition o...

متن کامل

Process Algebra and Markov Chains

This paper surveys and relates the basic concepts of process algebra and the modelling of continuous time Markov chains. It provides basic introductions to both fields, where we also study the Markov chains from an algebraic perspective, viz. that of Markov chain algebra. We then proceed to study the interrelation of reactive processes and Markov chains in this setting, and introduce the algebr...

متن کامل

Piecewise Linear Topology, Evolutionary Algorithms, and Optimization Problems

Schemata theory, Markov chains, and statistical mechanics have been used to explain how evolutionary algorithms (EAs) work. Incremental success has been achieved with all of these methods, but each has been stymied by limitations related to its less-thanglobal view. We show that moving the question into topological space helps in the understanding of why EAs work. Purpose. In this paper we use ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008